<?php

$redisClient = new swoole_redis;
$redisClient->connect('127.0.0.1',6379,function ($redisClient,$result)
{
    var_dump($result);
    /*$redisClient->get('fengqin', function(swoole_redis $redisClient, $result) {
        var_dump($result);
        $redisClient->close();
    });*/
    /*$redisClient->set('*f*',time(),function ($redisClient,$result){
        var_dump($redisClient);
    });*/
   /* $redisClient->get("fqin",function ($redisClient,$result){
            var_dump($result);
            $redisClient->close();
    });*/
   $redisClient->keys("*f*",function ($redisClient,$result){
       var_dump($result);
       $redisClient->close();
   });
});
echo "start".PHP_EOL;

